{template 'index/header'}
<!--header end--> 

<!--main-->
{if $site1['is_show'] == 1}
<div class="wb80 mo tc">
	{loop $banner1_list $banner}
	<img src="{php echo tomedia($banner['banner_thumb'])}" alt="{$banner['banner_title']}" />
	{/loop}
</div>
{/if}
<!--project-->
{if $site5['is_show'] == 1}
<div class="wb xmbg oh">
  <div class="container mo oh">
    <ul class="wb  xmlist clearfix">
	{loop $banner5_list $banner}
      <li class="fl wb20 tc"> <img src="{php echo tomedia($banner['banner_thumb'])}" alt="{$banner['banner_title']}"/>
        <h3 class="wb tc mt15 fs18">{$banner['banner_title']}</h3>
        <p class="p15 tl">{$banner['banner_desc']}</p>
      </li>
	  {/loop}
    </ul>
    <div class="clear"></div>
  </div>
</div>
{/if}
<!--project end--> 
<!--module-->
{if $site_product['is_show'] == 1}
<div class="container mo mt50 mb50">
  <h5 class="mb20 tc fs36">{$site_product['site_title']}</h5>
  <p class="tc">{$site_product['site_desc']}</p>
  <ul class="wb mt50 mb50 module">
    {loop $product_list $pro}
	<li class="fl wb25 tc"> <img src="{php echo tomedia($pro['product_thumb'])}" alt="{$pro['product_name']}"/>
      <h3 class="pl15 tl mt15 fs18">{$pro['product_name']}</h3>
      <p class="p15 tl">{$pro['product_desc']}</p>
    </li>
	{/loop}
  </ul>
  <div class="clear"></div>
  <div class="wb tc"><a href="/web/index.php?c=account&a=welcome&page=product" target="_blank" class="b_radius tc">更多小程序应用</a></div>
  <div class="clear"></div>
</div>
{/if}
<!--module end--> 
<!--case-->
{if $site_case['is_show'] == 1}
<div class="wb xmbg oh">
  <div class="container mo mt50 mb50">
    <h5 class="mb20 tc fs36">{$site_case['site_title']}</h5>
    <p class="tc">{$site_case['site_desc']}</p>
    <ul class="wb mt30 case oh">
      {loop $case_list $case}
	  <li class="fl wb20 tc">
        <div class="casebg">
          <!--<div class="casema"><img src="{php echo tomedia($case['case_thumb'])}" alt=""  width="180" height="180"/></div>-->
          <img src="{php echo tomedia($case['case_thumb'])}" alt="{$case['case_name']}" width="100%"/>
          <h3 class="pl10 tl mt15 fs18">{$case['case_name']}</h3>
          <p class="p10 tl">使用<span>微商城</span>生成</p>
        </div>
      </li>
	  {/loop}
    </ul>
    <div class="clear"></div>
    <div class="wb tc"><a href="/web/index.php?c=account&a=welcome&page=case" target="_blank" class="b_radius tc">更多案例</a></div>
    <div class="clear"></div>
  </div>
</div>
{/if}
<!--case end--> 
<!--news-->
{if $site_news['is_show'] == 1}
<div class="container mo mt50 mb50">
  <h5 class="mb20 tc fs36">{$site_news['site_title']}</h5>
  <p class="tc">{$site_news['site_desc']}</p>
  <ul class="wb mt50 mb50 news">
     {loop $article_list $article}
	<li class="fl wb45">
      <div class="fl tc mr30 mb30 newstime"><?php echo date('d',strtotime($article['add_time'])) ?>
        <p><?php echo date('Y-m',strtotime($article['add_time'])) ?></p>
      </div>
      <div>
        <h3 class="fs18">{$article['article_title']}</h3>
        <p class="mt10">{$article['article_desc']}</p>
      </div>
    </li>
	{/loop}  
  </ul>
  <div class="clear"></div>
  <div class="wb tc"><a href="/web/index.php?c=account&a=welcome&page=news" target="_blank" class="b_radius tc">更多新闻</a></div>
  <div class="clear"></div>
</div>
{/if}
<!--news end--> 
<!--main end--> 
<!--footer-->
{template 'index/footer'}